# -*- coding: utf-8 -*-
# @Time    : 2024/5/10 09:55
# @Author  : Hean
# @Site    : 
# @File    : config.py
# @Software: PyCharm


from pydantic_settings import BaseSettings


class Settings(BaseSettings):
    room_id: str = "410271114621"
    queue_push_sever: str = '10.0.202.57:9092'
    topic_name: str = "hean_liveroom_getdata_topic"
    database_url: str
    database_port: int
    database_db: str
    database_user: str
    database_password: str

    class Config:
        env_file = ".env"
        env_file_encoding = "utf-8"


settings = Settings()
